{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
{style href='style/map.css'}

<div class="linkst">
	<div class="ag_inbox">
		<p class="pagelink ag_floatleft">$paging_links</p>
		<ul>
			<li>
				<a href="{url}">Index</a>
			</li>
			<li>&nbsp;&raquo;&nbsp;##Site map##
			</li>
		</ul>
		<div class="ag_clearer"></div>
	</div>
</div>
<div class="ag_box">
	<div class="ag_inbox" id="map">

{foreach from=$categories item=category}
	<div class="cat">{$category.cat_name}</div>

	{foreach from=$category.forums item=forum}
		<div class="frm">
			{section name=level loop=$forum.level}
				&raquo;
			{/section}
			<a href="{url task=forum id=$forum.id}">{$forum.forum_name}</a>
		</div>
		{foreach from=$forum.topics item=topic}

			<div class="tpc">
    			<a href="{url task=topic id=$topic.id}">
    				{$topic.subject}
		    	</a><br />
				{$topic.poster}
			</div>

		{/foreach}

	{/foreach}

{/foreach}front

	</div>

</div><br />

<div class="ag_clearer"></div>

<div class="linkst">
	<div class="ag_inbox">
		<p class="pagelink ag_floatleft">$paging_links</p>
		<ul>
			<li><a href="{url}">Index</a></li>
			<li>&nbsp;&raquo;&nbsp;Site map</li>
		</ul>
		<div class="ag_clearer"></div>
	</div>
</div>